//导入request.js请求工具
import request from '@/utils/request.js'
//import {useTokenStore} from '@/stores/token.js'

//文章分类列表查询
export const articleCategoryListService = () => {
    //获取token状态 - 放到axios拦截器中就不需要了
    //const tokenStore = useTokenStore()
    //return request.get('/category', { headers: {'Authorization': tokenStore.token}})
    return request.get('/category')
} 